/**$Licence:
 *  Copyright (C) 2008 - 2012 www.java1995.com . All rights reserved.
 *
 *  Use this however/wherever you like, just don't blame me if it breaks anything.
 *
 */

package com.blazemina.message;

/**
 * @author JackChu
 * @version 1.0.0 2012-1-16 下午10:54:04
 */
public class SampleMessage implements Message{

	private String command;
	/**
	 * command
	 *
	 * @param   command    the command to set
	 */
	
	public void setCommand(String command) {
		this.command = command;
	}

	/**
	 * data
	 *
	 * @param   data    the data to set
	 */
	
	public void setData(Object data) {
		this.data = data;
	}

	private Object data;
	
	@Override
	public String getCommand() {
		return command;
	}

	@Override
	public Object getData() {
		return data;
	}

}
